const KEY = 'heimamm66-token'

//保存token
const setToken = token => {
  localStorage.setItem(KEY, token)
}
//获取token
const getToken = () => {
  return localStorage.getItem(KEY)
}
//移除token
const removeToken = () => {
  localStorage.removeItem(KEY)
}

export { setToken, getToken, removeToken }
